* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #e8e6e3;
    background-color: #0a0a0a;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(42, 42, 42, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(42, 42, 42, 0.1) 0%, transparent 50%);
}

/* Header */
.header {
    font-family: "UnifrakturMaguntia", cursive;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    color: #d4af37;
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23d4af37" stroke-width="0.5" opacity="0.1"/></svg>'); */
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-family: "UnifrakturMaguntia", cursive;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.header .subtitle {
    font-family: "UnifrakturMaguntia", cursive;
    font-size: 1.5rem;
    opacity: 0.8;
    color: #b8b8b8;
}

/* Main Content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-post {
    background: rgba(26, 26, 26, 0.9);
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 5px;
    border: 1px solid #333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.blog-post::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
    border-radius: 3px;
}

.blog-title {
    font-family: "UnifrakturMaguntia", cursive;
    color: #d4af37;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-align: center;
    line-height: 1.3;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
}

.blog-content {
    font-size: 1.1rem;
    color: #b8b8b8;
    line-height: 1.7;
}

.blog-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 5px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Enlaces mejorados */
.blog-content a {
    color: #e8c547;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 197, 71, 0.3);
    transition: all 0.3s ease;
    padding: 0 1px;
}

.blog-content a:hover {
    color: #f5d76e;
    border-bottom-color: #f5d76e;
    background-color: rgba(232, 197, 71, 0.1);
}

.highlight {
    color: #d4af37;
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 2.5rem 0;
}

.call-to-action {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 5px;
}

.call-to-action p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    text-decoration: none;
    border: 1px solid #d4af37;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: bold;
    min-width: 140px;
    text-align: center;
}

.btn:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    color: #666;
    padding: 2rem 0;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
}

.back-link {
    color: #e8c547;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(232, 197, 71, 0.3);
    padding: 0 1px;
}

.back-link:hover {
    color: #f5d76e;
    border-bottom-color: #f5d76e;
    background-color: rgba(232, 197, 71, 0.1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .header .subtitle {
        font-size: 1.2rem;
    }

    .container {
        padding: 1rem;
    }

    .blog-post {
        padding: 2rem;
        margin: 1rem 0;
    }

    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .links {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        min-width: 120px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .blog-post {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .btn {
        min-width: 100px;
        padding: 0.6rem 1.2rem;
    }
}